package com.clock.shop.mapper;

import com.clock.shop.domain.ShopService;
import com.clock.shop.domain.vo.ShopServiceVo;

import java.util.List;


/**
 * 服务信息Mapper接口
 * 
 * @author ruoyi
 * @date 2024-10-11
 */
public interface ShopServiceMapper 
{
    /**
     * 查询服务信息
     * 
     * @param serviceId 服务信息主键
     * @return 服务信息
     */
    public ShopService selectShopServiceByServiceId(Long serviceId);

    /**
     * 查询服务信息列表
     * 
     * @param shopServiceVo 服务信息
     * @return 服务信息集合
     */
    public List<ShopServiceVo> selectShopServiceList(ShopServiceVo shopServiceVo);

    /**
     * 新增服务信息
     * 
     * @param shopService 服务信息
     * @return 结果
     */
    public int insertShopService(ShopService shopService);

    /**
     * 修改服务信息
     * 
     * @param shopService 服务信息
     * @return 结果
     */
    public int updateShopService(ShopService shopService);

    /**
     * 删除服务信息
     * 
     * @param serviceId 服务信息主键
     * @return 结果
     */
    public int deleteShopServiceByServiceId(Long serviceId);

    /**
     * 批量删除服务信息
     * 
     * @param serviceIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShopServiceByServiceIds(Long[] serviceIds);
}
